package com.ohos.connect.devicecloud.iot.modular.device.constant;

public interface DeviceConstant {

    /**
     * 瘦设备Device上PBKDF2的迭代次数为1次
     */
    Integer PBKDF2_ITERATION = 1;

    /**
     * 中salt为sn1（hex变为binary后为8 bytes）和sn2（hex变为binary后为8 bytes）的拼装，salt长度为16 bytes
     */
    Integer PBKDF2_SALT_LENGTH = 16;

    String AES_128_GCM = "AES-128-GCM";

    String AES_128_CBC = "AES-128-CBC";

    String PLAIN_TEXT = "plaintext";

}
